﻿package com.dnd.smashtehugly.helpers {
	import com.dnd.smashtehugly.model.LanguagePack;
	
	import flash.text.Font;
	
	public final class ConstantFactory {
		
		private static var _langPack:LanguagePack;

		public static function retrieveText(key:String):String
		{
			return _langPack.retrieveText(key);
		}

		public static function setLangPack(value:LanguagePack):void
		{
			_langPack = value;
		}
		
		//---------------- STAGE CONSTANTS -----------------//
		public static var SCREEN_WIDTH:Number = 400;
		public static var SCREEN_HEIGHT:Number = 400;
		public static const COLLIDE_TOP:int = 1;
		public static const COLLIDE_RIGHT:int = 2;
		public static const COLLIDE_BOTTOM:int = 3;
		public static const COLLIDE_LEFT:int = 4;
		public static const COLLIDE_NONE:int = 0;
		
		//------------ SOUND EFFECT CONSTANTS --------------//
		public static const SOUND_BACKGROUND:String = "SFX/Melodic.mp3";
		public static const SOUND_DRIP:String = "SFX/Drip.mp3";
		public static const SOUND_DROP:String = "SFX/Drop.mp3";
		public static const SOUND_SPLASH:String = "SFX/Splash.mp3";
		
		//-------------------- FONTS -----------------------//
		public static const FONT_FUNKY:String = "UVNBanhMi";
		
		//-------------------- EVENTS -----------------------//
		public static const EVENT_LANGUAGE_LOADED:String = "Language loaded";
		public static const EVENT_UGLY_SMASHED:String = "Ugly smashed";
		public static const EVENT_SLAM_FINISH:String = "Slam001";
		
	}
}